<div class="admin">
    <div class="tab panel dux-box admin-panel">
        <div class="panel-head"><strong>添加分类</strong></div>
        <div class="padding border-bottom">
            <a href="{:U('ArticleCat/index')}" class="button button-small border-green">分类列表</a>
        </div>
        <div class="fixed-empty"></div>
        <form id="myform" action="{:U('addCat')}" method="post">
            <table class="table tb-type2">
                <tbody>
                    <tr>
                        <td width="10%"><label class="validation" for="gc_name">分类名称:</label></td>
                        <td><input type="text" value="" name="cat_name" id="gc_name" maxlength="20" class="input input_big"></td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>是否显示：</td>
                        <td>
                            <div class="field">
                                <div class="button-group button-group-small radio">
                                    <label class="button active"><input name="show_in_nav" checked="checked" value="1" type="radio"><span class="icon icon-check"></span> 是</label>
                                    <label class="button"><input name="show_in_nav" value="0" type="radio"><span class="icon icon-times"></span> 否</label>
                                </div>
                            </div>
                        </td>
                        <td></td>
                    </tr>
                    <tr>
                        <td width="10%"><label class="validation" for="gc_name">排序：</label></td>
                        <td width="30%"><input type="text" value="{$past['sort']}" name="sort" id="sort" maxlength="20" class="input input_big"></td>
                        <td></td>
                    </tr>
                    <tr>
                        <td><label class="validation" for="gc_name">关键字:</label></td>
                        <td><input type="text" value="" name="keywords" id="gc_name" maxlength="20" class="input input_big"></td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>描述：</td>
                        <td><textarea name="cat_desc" style="width:360px;height:100px" class="input input_big"></textarea></td><td></td>
                        <td></td>
                    </tr>
                </tbody>
                <tfoot class="panel-foot">
                    <tr>
                        <td colspan="3"><input class="button bg-main" type="submit" value="提交"></td>
                    </tr>
                </tfoot>
            </table>
        </form>
    </div>
</div>
